@import '~antd/es/style/themes/default.less';

.module_title {
    height: 30px;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    // margin-left: 20%;
}
.top_tip {
    height: 47px;
    padding: 12px 20px;
    background-color: #fff3cd;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #856404;
}

.pageHeaderContent {
    display: flex;
    .avatar {
        flex: 0 1 72px;
        & > span {
            display: block;
            width: 72px;
            height: 72px;
            border-radius: 72px;
        }
    }
    .content {
        position: relative;
        top: 4px;
        flex: 1 1 auto;
        margin-left: 24px;
        color: @text-color-secondary;
        line-height: 22px;
        .contentTitle {
            margin-bottom: 12px;
            color: @heading-color;
            font-weight: 500;
            font-size: 20px;
            line-height: 28px;
        }
    }
}

.card {
    // margin-bottom: 24px;

    :global {
        .ant-legacy-form-item .ant-legacy-form-item-control-wrapper {
            // width: 100%;
        }
    }
}

.heading {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 22px;
}

.steps:global(.ant-steps) {
    max-width: 750px;
    margin: 16px auto;
}

.errorIcon {
    margin-right: 24px;
    color: @error-color;
    cursor: pointer;

    span.anticon {
        margin-right: 4px;
    }
}

.errorPopover {
    :global {
        .ant-popover-inner-content {
            min-width: 256px;
            max-height: 290px;
            padding: 0;
            overflow: auto;
        }
    }
}

.errorListItem {
    padding: 8px 16px;
    list-style: none;
    border-bottom: 1px solid @border-color-split;
    cursor: pointer;
    transition: all 0.3s;
    &:hover {
        background: @primary-1;
    }
    &:last-child {
        border: 0;
    }
    .errorIcon {
        float: left;
        margin-top: 4px;
        margin-right: 12px;
        padding-bottom: 22px;
        color: @error-color;
    }
    .errorField {
        margin-top: 2px;
        color: @text-color-secondary;
        font-size: 12px;
    }
}

.editable {
    td {
        padding-top: 13px !important;
        padding-bottom: 12.5px !important;
    }
}

// custom footer for fixed footer toolbar
.advancedForm + div {
    padding-bottom: 64px;
}

.advancedForm {
    :global {
        .ant-form .ant-row:last-child .ant-form-item {
            margin-bottom: 24px;
        }
        .ant-table td {
            transition: none !important;
        }
    }
}

.optional {
    color: @text-color-secondary;
    font-style: normal;
}
